package com.ruoyi.order.station.response;

import com.github.s7connector.api.annotation.S7Variable;
import com.github.s7connector.impl.utils.S7Type;
import lombok.Data;

@Data
public class DB5439Server {
    //报文编号
    @S7Variable(byteOffset=0, bitOffset=0, type= S7Type.WORD)
    public Integer telegramNumber;

    //线号
    @S7Variable(byteOffset=2, bitOffset=0, type= S7Type.WORD)
    public Integer lineNo;

    //站号
    @S7Variable(byteOffset=4, bitOffset=0, type= S7Type.WORD)
    public Integer stationNo;

    //站号编号
    @S7Variable(byteOffset=6, bitOffset=0, type= S7Type.WORD)
    public Integer stationindex;

    //发送成功
    @S7Variable(byteOffset=8, bitOffset=0, type= S7Type.WORD)
    public Integer finishIO;

    //发送失败
    @S7Variable(byteOffset=10, bitOffset=0, type= S7Type.WORD)
    public Integer finishNIO;

    //反馈代码
    @S7Variable(byteOffset=12, bitOffset=0, type= S7Type.WORD)
    public Integer returnCode;
}
